/**
 * 用户登录
 */
export class LoginAction {
    static readonly type = '[Auth] Login';
    constructor(public queryParams: any) {}
}

/**
 * 设置用户信息
 */
export class SetUserInfoAction {
    static readonly type = '[Auth] SetUserInfo';
    constructor(public userName: string) {}
}

export class SetTokenAction {
    static readonly type = '[Auth] SetTokenAction';
    constructor(public token: string) {}
}


/**
 * 退出登录
 */
export class LogOutAction {
    static readonly type = '[Auth] LogOut';
    constructor() {}
}
